@font-face {
    font-family: Butler_Light;
    font-weight: 700;
    src: url(./asset/font/Butler_Light.otf) format("truetype");
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: Butler_Black;
    font-weight: 700;
    src: url(./asset/font/Butler_Black.otf) format("truetype");
    text-rendering: optimizeLegibility;
}

* {
    padding: 0;
    margin: 0;
    font-family: Butler_Light;
}

body {
    background-image: url(./asset/bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    color: #fff;
}

.content {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    overflow: hidden;
    .introduce {
        width: 50%;
        height: 100%;
        position: relative;
        position: relative;
        .introduce-content {
            .tips {
                margin: 20px 0;
                font-size: 25px;
                position: absolute;
                left: 20%;
                top: 40%;
                transform: translateY(-50%);
                font-family: Butler_Black;
            }
        }
    }
    .form-wrapper {
        width: 50%;
        height: 100%;
        position: absolute;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20% 10%;
        box-sizing: border-box;
        background: rgb(0 0 0 / 6%);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        .login-form {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            flex-direction: column;
            h1 {
                font-size: 55px;
                margin-bottom: 20px;
            }
            .login-tips {
                font-size: 20px;
            }
            .other-login {
                width: 100%;
                height: 50px;
                line-height: 50px;
                border: 1px solid #fff;
                text-align: center;
                border-radius: 10px;
                box-sizing: border-box;
                margin: 50px 0 10px 0;
                cursor: pointer;
                transition: .2s;
                &:hover {
                    border: 1px solid #9faff8;
                }
                img {
                    width: 30px;
                    height: 30px;
                    vertical-align: middle;
                }
                span {
                    vertical-align: middle;
                }
            }
            .divider {
                width: 100%;
                margin: 20px 0;
                text-align: center;
                display: flex;
                align-items: center;
                justify-content: space-between;
                .line {
                    display: inline-block;
                    flex: 1;
                    height: 1px;
                    background-color: #fff;
                }
                .divider-text {
                    vertical-align: middle;
                    margin: 0 20px;
                    display: inline-block;
                    color: #fff;
                    white-space: normal;
                }
            }
            .form {
                .input-wrapper {
                    width: 100%;
                    height: 60px;
                    color: #fff;
                    margin: 20px 0 50px 0;
                    span {
                        display: inline-block;
                        margin-bottom: 5px;
                    }
                    .ipt {
                        width: 100%;
                        height: 100%;
                        border-radius: 10px;
                        border: 1px solid #fff;
                        padding: 10px 0 10px 30px;
                        box-sizing: border-box;
                        background-color: transparent;
                        outline: none;
                        color: #fff;
                        font-size: 20px;
                        transition: .2s;
                        &:focus {
                            border: 1px solid #9faff8;
                        }
                        &::-webkit-input-placeholder {
                            /* 使用webkit内核的浏览器 */
                            color: #fff;
                        }
                        &:-moz-placeholder {
                            /* Firefox版本4-18 */
                            color: #fff;
                        }
                        &::-moz-placeholder {
                            /* Firefox版本19+ */
                            color: #fff;
                        }
                        &:-ms-input-placeholder {
                            /* IE浏览器 */
                            color: #fff;
                        }
                    }
                }
                .other-setting {
                    display: flex;
                    justify-content: space-between;
                    .rem-pwd {
                        cursor: pointer;
                    }
                    .forget-pwd {
                        cursor: pointer;
                    }
                }
                .btn {
                    width: 100%;
                    height: 50px;
                    border: 0;
                    background-color: #fff;
                    border-radius: 5px;
                    color: #000;
                    text-align: center;
                    margin: 50px 0;
                    font-size: 20px;
                    cursor: pointer;
                }
            }
            .register {
                color: #fff;
                cursor: pointer;
            }
        }
    }
}

@media(max-width: 768px) {
    .content {
        .introduce {
            display: none;
        }
        .form-wrapper {
            width: 100%;
            .login-form {
                .divider {
                    margin: 10px 0;
                }
                .other-login {
                    margin: 10px 0;
                }
                .form {
                    .btn {
                        margin: 20px 0;
                    }
                }
            }
        }
    }
}